package com.dingding.common.core.im.dto;

/**
 * @ClassName: SdkHttpResult
 * @Description: 对server sdk返回的封装
 * @author yuHaiQing
 * @date 2016年3月30日 下午4:55:57
 */
public class SdkHttpResult {

	private int code;			//返回码
	private String result;		//返回结果

	public SdkHttpResult(int code, String result) {
		this.code = code;
		this.result = result;
	}

	public int getHttpCode() {
		return code;
	}

	public String getResult() {
		return result;
	}

	@Override
	public String toString() {
		return String.format("{\"code\":\"%s\",\"result\":%s}", code,
				result);
	}
}
